Storage-device activation control for a high-availability storage system

ABSTRACT

Implementations of this invention provide improved technology for storage-device activation control in high-availability storage systems and tracking of in-service data statistics of storage-devices. Typical high-availability storage systems include a fault-tolerant redundant array of storage devices, such as disk drives. The invention may be implemented with one or more inactive (un-powered) drives physically installed in the storage system, but not part of the present fault-tolerant redundant array of disk drives. When a drive fails, one of the inactive drives is activated (powered-on) and it replaces the failed disk and becomes part of the present array. With the newly activated disk included, the data is reconstructed and the original fault-tolerance level is restored. Furthermore, the invention may be implemented so that it tracks the actual in-service time of the storage devices (such as disk drives). Field-derived, empirical data about actual in-service time of storage devices is collected and transmitted to a central data collection system. Using this actual data as a basis, a much more accurate MTBF may be calculated than the MTBF conventionally calculated.

TECHNICAL FIELD

[0001] This invention relates to improved techniques for controlling and/or monitoring storage devices in a high-availability storage system.

BACKGROUND

[0002] Some computer systems are dedicated storage systems. These storage systems typically include one or more arrays of rotating magnetic disks for secondary, non-volatile storage of data. Typically, a storage system may include an enclosure, power supply, cooling fans, and disk array controller(s).

[0003] These disk arrays are sometimes colloquially called “Just a Bunch Of Disks” or alternatively “Just a Box Of Disks” (JBOD). A JBOD is an array of disk drives that are specially designed to improve control, performance, and fault tolerance of such a disk-array storage system.

[0004]FIG. 1 shows an example of a conventional computer network 10 having a central computer 20 for controlling the system and for central processing. Of course, such a central computer (i.e., server) may be composed of many interconnected computers. In addition to other functions, the central computer 20 controls and monitors multiple storage systems, such as storage system 30, storage system 32, and storage system 34.

[0005]FIG. 2 shows a block diagram of the basic components of a typical storage system, in particular, storage system 30. It includes an input/output (I/O) unit 52 for sending/receiving data and control information to/from the central computer 20, other storage systems, and other network devices. A disk array controller 54 is coupled to the I/O unit 52 and to a disk array 60. One or more data and control lines connect the disk array controller 54 to the disk array 60. Of course, a storage system may include multiple controllers and multiple disk arrays.

[0006] In a conventional storage system (like the one illustrated in FIG. 2), all disk drives in an array are powered by a power supply. Typically, the supply of power to the drive is not controllable or selectable.

[0007] Redundant Array of Independent Disks (RAID)

[0008] A common high-availability storage solution is a Redundant Array of Independent (or Inexpensive) Disks (RAID). RAID is a high-availability storage system that employs two or more drives in combination.

[0009] RAID was designed as a means for improving storage subsystem capacity. However, there was a problem with this implementation. The resulting “mean time before failure” (MTBF) of the array was actually reduced due to the probability of any one drive of the array failing. As a result of this finding, the RAID developers proposed multiple levels of RAID to provide a balance of performance and data protection.

[0010] Conventionally, RAID schemes are classified into five basic levels (although other levels may exist):

[0011] a first level in which the same data are stored on two disks (“mirrored” disks);

[0012] a second level in which data are bit-interleaved across a group of disks, including check disks on which redundant bits are stored using a Hamming code;

[0013] a third level in which each group has only a single check disk (sometimes called a “parity” disk), on which parity bits are stored;

[0014] a fourth level that uses block interleaving and a single check disk per group; and

[0015] a fifth level that uses block interleaving and distributes the parity information evenly over all disks in a group, so that the writing of parity information is not concentrated on a single check disk.

[0016] For all RAID levels, fault-tolerant arrays often have an additional disk in the array. This is the “check” disk. This disk acts as the replacement disk when one disk in the array fails. The data on a failed disk are conventionally reconstructed; then the reconstructed data are written onto the replacement disk. This places the replacement disk in exactly the same state as the failed disk.

[0017] MTBF

[0018] MTBF is short for “mean time between failures” or “mean time before failure.” Typically, MTBF ratings are measured in hours and indicate the sturdiness of hard disk drives, printers, and virtually any other component.

[0019] Typical inexpensive disk drives for personal computers have MTBF ratings of about 300,000 hours. This means that of all the drives tested, one failure occurred every 300,000 hours of testing. However, this measure is only a statistical model based upon test drives and estimated operation time of failed drives returned to the factory.

[0020] The theoretical MTBF of a disk drive represents the steady state failure rate of a large population of drives in volume manufacture. This is the expected time after the initial burn-in phase that it will take a hardware component to fail due to normal wear and tear.

[0021] Calculating Theoretical MTBFs.

[0022] Most discussions of a computer's MTBF focus on its disk drives' MTBFs for several reasons. Primarily, components with moving parts (such as disk drive actuators and motors) typically have significantly lower MTBFs than non-moving components (such as memory chips or main CPU boards). Because a computer's theoretical MTBF is most influenced by the MTBF of the least reliable component as well as the sheer number of components, disk drive MTBFs typically dominate the overall computer system's theoretical MTBF.

[0023] Theoretical MTBF of a computer decreases in proportion to the number of components that make up the computer. Therefore, larger configurations containing many disk drives, by definition, have a lower overall MTBF.

[0024] A system's overall theoretical MTBF is calculated from the theoretical MTBFs of the components that make up the system: ${MTBF} = \frac{1}{\frac{1}{N_{1}} + \frac{1}{N_{2}} + \frac{1}{N_{3}} + \ldots + \frac{1}{N_{x}}}$

[0025] where

[0026] N=MTBF of each component

[0027] x=the number of components in the configuration

[0028] The overall MTBF of a disk drive subsystem is in direct proportion to the number of disks in the array. For example, the MTBF of a disk drive subsystem consisting of two disk drives with identical 300,000 hour MTBFs is: $\begin{matrix} {{Disk}\quad {drive}} \\ {{subsystem}\quad {MTBF}} \end{matrix} = \frac{1}{\frac{1}{300,000} + \frac{1}{300,000}}$

[0029] =150,000 hours, which is exactly half the MTBF of each disk drive

[0030] Similarly, a 10-drive configuration MTBF is one-tenth the MTBF of a single drive, or 30,000 hours, and a 100-drive configuration is reduced to 3,000 hours. Some large systems include 1000-drive (or more) storage configurations, which are likely to require that a failed drive be replaced every one to two weeks (on average).

[0031] Actual Time Before Failure Compared to MTBF

[0032] The MTBF is intended to give a statistical model of the failure times of a large population of drives. The MTBF is not a good measure for the actual time before a given drive fails. One reason is the collection of disk drives used by an installation is not always representative of a large random sample (as assumed by the statistical model). Another reason that MTBF is not a good measure for the actual time before a given drive fails is a lack of empirical data about drives in actual service.

[0033] Non-representative Samples.

[0034] Installations typically purchase drives in bulk. They are likely to receive drives with sequential serial numbers because the drives were collectively shipped right from the assembly line of a factory to the large installations.

[0035] Often problems that cause a drive to fail are inadvertently introduced during the manufacturing process. The induction of dust particles and other particulate matter is a common cause of ultimate drive failures. It is typical for such problems to be introduced to a collection of sequentially manufactured drives.

[0036] Therefore, an array of drives in an installation may have a higher risk for drive failure than is represented by a theoretical MTBF calculation. Furthermore, these sequential drives are more likely to fail at approximately the same time because their inherent flaws are similar.

[0037] Lack of Empirical Data.

[0038] The basis of the MTBF calculation for a disk drive is the measured failure rate in a testing facility. Often the calculation is based upon failure data of similar components in previous models. This facility may be part of the manufacturing process, such as a “burn-in” step. It may also be independent of the manufacturing process, such a dedicated testing laboratory. Both options only estimate how the drive is actually used in the field.

[0039] Drive manufacturers typically guess at the actual operating life of a drive model by knowing how many drive models were sold, knowing how many were returned after they failed, and comparing the manufacture date to the returned date. This is only a guess. This does not accurately measure the actual life and use of a drive.

[0040] Conventionally, there is no technique to accurately measure how drives are used in the field; therefore, it is difficult, at best, to determine the accuracy of the artificial failure rates estimated by development engineering.

SUMMARY

[0041] Described herein is an improved technology for storage-device activation control in high-availability storage systems and tracking such activations. Typical high-availability storage systems include a fault-tolerant redundant array of storage devices, such as disk drives. Such systems are designed to withstand the failure of X number drives without a loss of data. When a drive fails, the data is reconstructed from the redundancy information on the remaining drives. After X number of drives have failed but before a conventional manual replacement of such failed drives, the data is highly vulnerable to loss if another drive fails.

[0042] An example of the storage-device activation control described herein is implemented with one or more inactive (un-powered) drives physically installed in the storage system, but not part of the present fault-tolerant redundant array of disk drives. When a drive fails, one of the inactive drives is activated (powered-on) and it replaces the failed disk and becomes part of the present array. With the newly activated disk included, the data is reconstructed and the original fault-tolerance level is restored. Since a new disk quickly and automatically (without human intervention) replaces the failed disk in the array, the risk of data loss (based upon another drive failing before the first failure is remedied) is greatly reduced.

[0043] Furthermore, another example of the storage-device activation control described herein is implemented so that it tracks the actual in-service time of the storage devices (such as disk drives). Field-derived, empirical statistical data about actual in-service time of storage devices is collected and transmitted to a central data collection system. Using this actual data as a basis, a much more accurate MTBF may be calculated than the MTBF conventionally calculated.

BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The same numbers are used throughout the drawings to reference like elements and features.

[0045]FIG. 1 illustrates, at a high-level, a conventional computer network that includes multiple storage systems.

[0046]FIG. 2 is a block diagram of the basic components of a conventional storage system.

[0047]FIG. 3 is a block diagram of the basic components of a storage system implementing storage-device activation control for a high-availability storage system.

[0048]FIG. 4 is a flow diagram of a methodological implementation of a storage-device activation control for a high-availability storage system.

[0049]FIG. 5 illustrates, at a high-level, a computer network with a storage system implementing storage-device activation control for a high-availability storage system and a data collection system for receiving empirical data sent by such storage system.

[0050]FIG. 6 is a flow diagram of another methodological implementation of storage-device activation control for a high-availability storage system.

DETAILED DESCRIPTION

[0051] The following description sets forth one or more specific embodiments of a storage-device activation control for a high-availability storage system that incorporates elements recited in the appended claims. The embodiments are described with specificity in order to meet statutory requirements, such as written description, enablement, and best-mode. However, the description itself is not intended to limit the scope of this patent. Rather, the inventors have contemplated that the claimed invention might also be embodied in other ways, in conjunction with other present or future technologies.

[0052] Described herein are examples the storage-device activation control for a high-availability storage system. Each example may be referred to as an “exemplary storage-device activation control.” Those of ordinary skill in the art understand and appreciate that an exemplary storage-device activation control may be implemented on any computer system (or network) with one or more arrays of storage devices. Therefore, references herein to storage systems are applicable to any similar computer system (or network) with at least one array of storage devices.

[0053] Furthermore, each exemplary storage-device activation control is described herein in the context of “disk drives.” Those of ordinary skill in the art understand and appreciate that each exemplary storage-device activation control may be implemented with any variety of secondary, non-volatile storage devices. Therefore, references herein to disk drives are applicable to any similar secondary, non-volatile storage devices.

[0054] Examples of an “activation status” of a storage device may be either active (powered on) or inactive (powered off). The “field-derived, empirical statistical data about the actual in-service time of a storage device” is described herein. By way of example, this refers to data about the actual in-service time of a storage device (such as a disk drive) that is measured in the field. This terminology distinguishes itself from data derived in a testing facility because such data is not field-derived and is not related to actual in-service time. This terminology also distinguishes itself from data derived from statistical models for similar reasons.

[0055] Storage System Implementing Exemplary Storage-Device Activation Control

[0056]FIG. 3 shows a block diagram of the basic components of an exemplary storage system 100 that implements the exemplary storage-device activation control. The storage system 100 includes a disk array controller 112 coupled to a disk array 120. The disk array controller may be composed of several basic computer components, such as an input/output (I/O) unit, bus adapters, etc. The I/O unit is for sending/receiving data and control information to/from other network devices.

[0057] One or more data and control lines (such as line 130 in FIG. 3) connect the disk array controller 112 to the disk array 120. The disk array 120 includes a set of disk drives 120 a-j.

[0058] Although only one controller and one JBOD are shown in FIG. 3, a storage system implementing a storage-device activation control may include multiple controllers and multiple JBODs. A storage system implementing a storage-device activation control typically have other conventional computer components, such as a CPU, system memory, one or more buses, other I/O systems, communications, and the like.

[0059] The storage system 100 in FIG. 3 includes a power supply 116, which supplies power to the drives 120 a-j via power and control lines 142. The power and control lines 142 are shown separate from data and control line(s) 130, but such lines may be within the same conduit and perhaps share the same wiring where appropriate.

[0060] The disk array controller 112 is operatively coupled to power switch control (PSC) 114, which may also be called the power-switch controller. With direction from the disk array controller 112, the PSC 114 selectively controls the activation and deactivation of specific drives 120 a-j of the disk array 120 via the operatively coupled power and control lines 142. Each drive of drives 120 a-j has an associated power activation switch 140 a-j, which switchably couples each drive to the power supply 116.

[0061] Switches 140 a-j may be any electronically controllable switches. In the exemplary storage system, the switches are a solid-state electronic component (such as a FET). Such switches may be part of a drive's internal circuitry or they may be external to the drive. Unlike a conventional storage system (such as storage system 30 illustrated in FIGS. 1 and 2), the disk drives 120 a-j in the disk array 120 are selectively powered on (“activated”) or off (“deactivated”) by the PSC 114 under direction from the disk array controller 112.

[0062] Switches 140 a, 140 b, 140 c, 140 e, 140 g, and 140 i are closed and thus allowing power to flow to their associated drives (120 a, 120 b, 120 c, 120 e 120 g, and 120 i). Therefore, these drives are active. Since these drives are active, their lifespan is decreasing each second and they will eventually fail. Their MTBF is an estimate of that lifespan, but the actual lifespan of each drive is unknown.

[0063] For example, assume that these six drives (120 a, 120 b, 120 c, 120 e, 120 g, and 120 i) form an active RAID of 5+1 (which is five disks of data and one disk of redundancy parity data). Electricity is flowing through its circuitry and its parts are moving. Its lifespan is decreasing.

[0064] Switches 140 d, 140 f, 140 h, and 140 i are open and thus no power is flowing to their associated drives (120 d 120 f, 120 h, and 120 i). Therefore, these drives are inactive. No electricity is flowing through the circuitry of these drives. No parts are moving in these drives. Since these drives are inactive, their lifespan is unchanged and unaffected.

[0065] For example, if a drive fails (such as drive 120 c), the disk array controller 112 instructs the PSC 114 to activate one of the inactive drives (such drive 120 h). Thus, the newly activated drive 120 h replaces just-failed drive 120 c within the RAID of 5+1 disks. Therefore, a minimum amount of time is spent with a danger of data loss before the failed drive is replaced in the RAID with a new active drive.

[0066] Methodological Implementation of Exemplary Storage-Device Activation Control

[0067]FIG. 4 shows a methodological implementation of an exemplary storage-device activation control performed by a storage system (or a portion thereof), such as storage system 100 of FIG. 3. This methodological implementation may be performed in software, hardware, or a combination thereof.

[0068] At 210 of FIG. 4, the disk array controller 112 receives an indication of a drive failure and an identification of which drive that failed. The drive is a member of a fault-tolerant redundancy array of drives. At 212, the disk array controller 112 activates one of a set of inactive drives. For example, it may direct the PSC 114 to activate drive 120 h. The PSC does this by switching the drive's associated switch, which is switch 140 h, from an open position to a closed position.

[0069] At 214, the disk array controller 112 reconstructs the fault-tolerant redundancy array so that the newly activated drive 120 h replaces the failed drive. The data arrangement of the redundant array is reconstructed with drive 120 h as part of the array. The process ends at 216.

[0070] Exemplary Data Tracking System of Exemplary Storage-Device Activation Control

[0071]FIG. 5 shows a high-level view of a storage system 180 coupled to a data collection system 190 via a network link 185. Storage system 180 includes the same basic components of storage system 100 of FIG. 3. The storage system 180 illustrated in FIG. 5 implements a data tracking system of an exemplary storage-device activation control.

[0072] Since the disk array controller 112 dynamically controls the activation of drives and monitors their failures, it can track the actual operational life of a drive from initial activation to eventual failure. This is an empirical measurement of drive life and how it was actually used in the field. This is not a statistical estimation or model.

[0073] After the storage system has collected empirical data regarding the drives' lifespan, it can transmit that data to a data collection system 190 via a network link 185, such as the Internet. The storage system may provide various types of information about a drive, such as:

[0074] brand;

[0075] model;

[0076] serial number;

[0077] components and features (e.g., number of cylinders, platters, segments, etc.);

[0078] in-service timespan (which may include day and time of activation and failure);

[0079] type of failure;

[0080] usage patterns during that lifespan, during each day, during an average day, etc.

[0081] An array manufacturer may host the data collection system 190. It will use the field-derived, empirical data about actual in-service time of storage devices (such as a drives) to accurately calculate the MTBF. Since the MTBF calculation will be based upon measurements of actual in-service time in the field, the MTBF will accurately estimate the lifespan of a drive. Such a MTBF calculation may be termed an AMTBF (for Actual MTBF) calculation.

[0082] Methodological Implementation of Exemplary Data Tracking

[0083]FIG. 6 shows a methodological implementation of exemplary data tracking of an exemplary storage-device activation control performed by a storage system (or a portion thereof), such as storage system 100 of FIG. 3 and storage system 180 of FIG. 5. This methodological implementation may be performed in software, hardware, or a combination thereof.

[0084] At 312 of FIG. 6, a storage system gathers and stores field-derived, empirical data about actual in-service time of storage devices (such as disk drives) from block 310. At 314, the storage system occasionally sends such data to a data collection system (such as system 190 in FIG. 5). The storage system may send the data on a regular timed basis, based upon a user instruction to do so, based upon instructions from a data collection system, when a drive fails, or other such triggering event.

[0085] At 316, the collected data is used to calculate AMTBF (actual MTBF) of the storage device associated with that data. The process ends at 318.

[0086] The in-service data can also be used to predict the future failure of units that have either not accumulated in-service time as quickly or were deployed at a later time. The enables predictive replacement of drives that are nearing their expected life.

[0087] Alternative Implementation of Storage-Device Activation Control

[0088] Rather than powering up a drive to replace a failed drive in a redundant array, an alternative implementation of an exemplary storage-activation control device may intelligently choose to power down one or more existing active drives in a redundant array. If it is determined that a portion of available storage space is unnecessary, the control may choose to deactivate a number of storage devices equivalent to the portion of unnecessary storage space. Conversely, if additional storage space is needed, the control may activate inactive devices to provide such additional storage space.

[0089] Other than abstract efficiency reasons, it is desirable to only have just enough storage devices active in a redundant array to satisfy the storage needs of the present and the near future. Why? Doing so, minimizes costs by doing the following:

[0090] increasing the effective lifespan of a storage device by deactivating it when not needed;

[0091] decreasing cooling costs by reducing the number of devices generating heat; and

[0092] decreasing power costs by reducing the number of devices drawing electricity.

[0093] Exemplary Characteristics of Exemplary Storage-Device Activation Control

[0094] Exemplary characteristics of the exemplary storage-device activation control, may include, but are not limited to, the following:

[0095] automated control by a storage system of its storage devices;

[0096] automated activation control of storage devices so that such device may be selectively powered on or off;

[0097] tracking of time-in-service type statistics by individual storage device;

[0098] central data collection and reporting system to collect and analyze the in-service statistics of storage devices; and

[0099] failure prediction by analyzing actual field failure statistics of like mechanisms.

[0100] Examples of Benefits of Exemplary Storage-Device Activation Control

[0101] Examples of benefits of the exemplary storage-device activation control, may include, but are not limited to, the following:

[0102] online and available spare storage devices reduce the time a redundancy array will exist in a non-redundant state (or in a state of lesser redundancy); in such a state, data loss may occur if another storage device fails;

[0103] keeping the online and available spare storage devices in a powered down (inactive) state optimizes their life expectancy, thereby preventing the conventional device-failure recovery situation (e.g., like with RAID) where redundancy is re-established using an active storage device which has already seen most if its functional life;

[0104] keeping the storage devices of unused redundancy arrays in a powered down state reduces power consumption; reduces acoustic levels, reduces thermal levels, and optimizes life expectancy of the devices;

[0105] failure prediction (based upon field-derived, empirical data about actual in-service time of storage devices) enables the preventative replacement of storage devices, thus avoiding exposure to loss of redundancy that occurs when storage devices are allowed to fail while in service;

[0106] failure prediction also enables supply chain optimization for manufacturers and distributors by predicting demand for replacement units prior to failure;

[0107] failure prediction further enables predictive shipment of replacement devices, thereby reducing the reliance on expensive express delivery shipments.

[0108] Conclusion

[0109] Although the invention has been described in language specific to structural features and/or methodological steps, it is to be understood that the invention defined in the appended claims is not necessarily limited to the specific features or steps described. Rather, the specific features and steps are disclosed as preferred forms of implementing the claimed invention. 

1. A storage-device activation control system comprising a power-switch controller coupled to a set of storage devices and configured to selectively activate one or more of such devices in the set.
 2. A system as recited in claim 1, wherein the controller is configured to selectively deactivate one or more of such devices in the set.
 3. A system as recited in claim 1, wherein the set of storage devices is a redundant array of disk drives.
 4. A system as recited in claim 1, wherein the storage devices are disk drives.
 5. A system as recited in claim 1, wherein the set of storage devices comprises at least two mutually exclusive subsets of storage devices, the subsets comprising: a first subset of storage devices collectively configured to be a fault-tolerant redundant array, wherein the devices in the first subset are active; a second subset of storage devices, wherein the devices in the second subset are inactive; the controller being adapted to activate at least one device from the second subset to replace at least one device in the first subset with the just activated device from the second subset.
 6. A high-availability storage system comprising: a storage-device activation control system as recited in claim 1; a fault-tolerant redundant array of storage devices, the array being coupled to such an activation control system and the array comprises, at least in part, the set of storage devices.
 7. A system comprising: a storage-device activation control system as recited in claim 1; a data tracking subsystem configured to track in-service statistics of a storage device.
 8. A system comprising: a storage-device activation control system as recited in claim 1; a data tracking subsystem configured to track in-service statistics of a storage device, wherein such statistics are based upon tracking activation time of the device and time of failure of the device.
 9. A storage-device activation/deactivation control method comprising: making a determination as to whether to change an activation status of at least a first storage device of a first set of storage devices, wherein the activation status of the storage devices in the first set is either active or inactive; changing the activation status of the first storage device in response to the determination.
 10. A method as recited in claim 9, wherein the making comprises: obtaining an indication of failure of at least a second storage device which is a member of a second set of storage devices, wherein the activation status of the storage devices in the second set is active; determining to activate the first storage device.
 11. A method as recited in claim 10 further comprising: logically removing the first storage device from the first set of storage devices; logically replacing the second storage device with the first storage device in the second set of storage devices.
 12. A method as recited in claim 9, wherein the determining comprises: obtaining an indication of excessive available storage space collectively provided by the first set of storage devices; determining to deactivate the first storage device.
 13. A computer-readable medium having computer-executable instructions that, when executed by a computer, performs the method as recited in claim
 9. 14. A data tracking method comprising: obtaining field-derived, empirical statistical data about actual in-service time of storage devices; collecting such data.
 15. A method as recited in claim 14, wherein the obtaining comprises: monitoring in-service statistics of storage devices as such devices are actually used; recording such statistics to produce the field-derived, empirical data about actual in-service time of storage devices.
 16. A method as recited in claim 14 further comprising transmitting such data to a data collection system.
 17. A computer-readable medium having computer-executable instructions that, when executed by a computer, performs the method as recited in claim
 14. 